<template>
	<view>
		<view class="top_btns">
			<view class="btns">
				<view class="btn" :class="navIndex==index?'active':''" v-for="(item,index) in navList" :key="item.id" @click="navClick(item,index)">
					{{item.name}}
				</view>
			</view>
		</view>
		
		
		<!-- 我的评价	 -->
		<view class="">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				navList: [{
						name: "我的评价",
						id: 0
					},
					{
						name: "评价我的",
						id: 1
					}
				],
				navIndex: 0
			};
		},
		methods: {
			navClick(item, index) {
				this.navIndex = index
			}
		}
	}
</script>

<style lang="scss" scoped>
	.top_btns {
		width: 750rpx;
		height: 112rpx;
		background: #FFFFFF;
		border-radius: 0rpx 0rpx 10rpx 10rpx;
		display: flex;
		justify-content: center;
		align-items: center;

		.btns {
			width: 432rpx;
			height: 70rpx;
			border-radius: 36rpx;
			border: 2rpx solid #FF8A9B;
			display: flex;

			.btn {
				width: 216rpx;
				height: 70rpx;
				border-radius: 36rpx;
				font-size: 32rpx;
				font-family: Source Han Sans CN-Medium, Source Han Sans CN;
				font-weight: 500;
				color: #222222;
				display: flex;
				justify-content: center;
				;
				align-items: center;
			}

			.active {
				background: #FF8A9B;
				color: #FFFFFF;
			}
		}
	}
</style>
